//
//  LzwUserPageWebViewVc.m
//  NewHalfsugar
//
//  Created by 刘志武 on 16/1/15.
//  Copyright © 2016年 刘志武. All rights reserved.
//

#import "LzwUserPageWebViewVc.h"

@interface LzwUserPageWebViewVc ()<UIWebViewDelegate>

@property (nonatomic, retain) UIWebView *myArtWebView;

@end

@implementation LzwUserPageWebViewVc

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.myArtWebView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, 375 * WIDTH, 667 * WIDTH)];
    [self.view addSubview:self.myArtWebView];
    
   
    NSString *string = self.string;
    
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:string]];
    [self.myArtWebView loadRequest:request];
    
    [self.myArtWebView setDelegate:self];
    
    [_myArtWebView release];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
